package com.example.entity;

import lombok.Data;

import java.io.Serializable;

/**
 * 宿舍
 */
@Data
public class Dorm implements Serializable {

    private static final long serialVersionUID = -1215136386734046841L;

    /**
     * 主键ID
     */
    private Integer id;

    /**
     * 宿舍号
     */
    private String name;

    /**
     * 楼栋ID
     */
    private Integer buildingId;

    /**
     * 宿舍人数
     */
    private Integer num;

    /**
     * 楼栋名称
     */
    private String buildingName;

    private String studentName;
}
